package com.qf.service;

import com.qf.Movie;
import com.qf.mapper.HomepageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HomepageServiceImpl implements HomepageService {

    @Autowired
    private HomepageMapper homepageMapperl;


    @Override
    public List<Movie> now() {
        List<Movie> now = homepageMapperl.now();
        return now;
    }

    @Override
    public List<Movie> pass() {
        List<Movie> pass = homepageMapperl.pass();
        return pass;
    }

    @Override
    public List<Movie> num() {
        List<Movie> num = homepageMapperl.num();
        return num;
    }
}
